Feature: Add a new company related to your complaint
	As a user
	I want to associate a particular company related to my complaint
	So that others can know which company is bad

Scenario: Show the options to associate the complaint with a company in New complaint page
	Given I am on the "New Complaint" home page
  And I should see "Add more information" at the bottom part
	When I click "Add more information"
	Then I should see a textfield with "Companies related to your complaint"
	And I should see "Add" and "Add New" button

Scenario: Associate that complaint with the company
	Given I am on the "New Complaint" home page
	And I already filled in the required textfield on the form
	And I already clicked on "Add more information"
	And Facebook is already listed on the site as one of troublesome company
	When I type "Facebook"
	And I click "Add" button"
	Then I should see "Facebook" listed under the textfield
	
Scenario: Check on the homepage if the complaint is really associated with the company
	Given I am on the "Little Sister" home page
	And I already created and published a complaint with title "Facebook sucks"
	And I associated that complaint with company "Facebook"
	Then I should see "Facebook" on the "Companies: " for that complaint